Directories and File Trees
Slides
A PDF file of the lecture slides handout
Recommended Reading
Code
Click on the lec23_fileTrees.zip link to download
the .zip
file to your computer. The unzipped folder contains the notebook for lecture activities.
Optional Material on Recursive Processing of File Trees
Processing file trees is one of the most compelling practical examples of recursive functions. We are not officially covering this topic this semester, but you can find out more about it in the lecture materials on Recursive File Trees.
Solutions (for after class)
Use these sample solutions for review only after you have completed the code exercises. You will learn much more by trying them first and comparing your approach with the solutions.